import { jsName, imgHost } from '@/config/urls';

const commonQrCodeIcon = [
  'alipay',
  'qq',
  'tb',
  'wx',
  'wxzf',
  'wb',
  // 'finger',
  // 'home',
  // 'contact',
  // 'link',
];
export function getQrCodeIconUrl(iconType?: string) {
  return iconType ? `https:${imgHost}/editor/third-icon/${iconType}.png` : '';
}
export const imgs = commonQrCodeIcon.map(icon => ({
  iconType: icon,
  url: getQrCodeIconUrl(icon),
}));
